# -*- coding: utf-8 -*-
account_list=[
    {"password": "000000","userNumber": "admin"},
    {"password": "000000","userNumber": "admin"},
    {"password": "000000","userNumber": "20281"}
]





import yaml
# def write_yaml(path,data):
#     with open(path,'w',encoding='utf-8')as file:
#         yaml.dump(data=data,stream=file,allow_unicode=True)
#         print('接口数据写入成功！')
#
#
# write_yaml(r'D:\python\pythonProject\test01\yaml_01.yaml',account_list)


# def read_yaml_():
#     with open(r'D:\python\pythonProject\test01\yaml_01.yaml','r',encoding='utf-8')as file1:
#         data=yaml.load(file1,Loader=yaml.FullLoader)
#         print(data)
#         return data
#
#
#
#
# read_yaml_()